* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: rgb(53, 52, 52);
}

#container {
    width: 1200px;
    min-height: 560px;
    margin: 50px auto;
    position: relative;
}

#container .logo {
    margin-bottom: 20px;
    width: 190px;
    height: 120px;
    overflow: hidden;
}

#container .cart-list {
    width: 100%;
}

#container .cart-list table {
    width: 100%;
    text-align: center;
}

#container .cart-list table tr {
    line-height: 40px;
}

#container .cart-list table tr th,
td {
    border-bottom: 1px dotted rgb(65, 64, 64);
}

#container .cart-list table input[name="minus"],
input[name="plus"] {
    width: 20px;
}

#container .cart-list table input[name="amount"] {
    width: 40px;
    text-align: center;
}

#container .cart-list table img {
    width: 100px;
    height: 100px;
}

#container .cart-list h2 {
    text-align: right;
    padding-right: 100px;
    font-size: 18px;
}

#container .cart-list h2 span {
    color: red;
}


#container .add-btn {
    text-align: center;
    margin: 20px auto;

}

#container .add-btn span {
    display: inline-block;
    width: 100px;
    line-height: 40px;
    border: 1px solid #000;
    background: rgb(131, 131, 131, 0.5);
}

/* 表单样式 */
#container form {
    width: 500px;
    height: 450px;
    margin: 10px auto;
    border: 1px solid gray;
    padding: 100px 10px 0 10px;
    text-align: center;
    background: #fff;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 150px;
    bottom: 0;
    margin: auto;
}

#container form input {
    width: 100%;
    height: 40px;
}

#container form button {
    width: 200px;
    height: 40px;
    /* background-color: pink; */
    text-align: center;
    line-height: 40px;
    border: none;
    outline: none;
}

#container form p {
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: rgb(255, 0, 0);
    text-align: left;
    text-indent: 0.5em;

}

#container form span {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    font-weight: 700;
    background: rgb(131, 131, 131, 0.5);
}

/* #container form button:hover {
    background-color: #f7c7cf;
    cursor: pointer;
} */

#container .add-btn span:hover,
#container form span:hover {
    cursor: pointer;
    background: rgb(131, 131, 131);
}

#container .block {
    display: block;
}